package com.woniu.account.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.woniu.account.dto.ResourceDto;
import com.woniu.account.form.ResourceInsertForm;
import com.woniu.account.model.TResource;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 吴彦祖
 * @since 2024年04月02日
 */
public interface TResourceService extends IService<TResource> {

    List<ResourceDto> selectMenu(Integer userId) throws Exception;

    List<ResourceDto> findButton(Integer userId)throws Exception;

    List<ResourceDto> search()throws Exception;

    TResource insert(ResourceInsertForm form)throws Exception;
}
